package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

/**
 * 普通的分佣规则
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-09-03 14:37:09
 */
public class NormalRewardRule extends BaseEntity {

	private static final long serialVersionUID = -3771761577464268442L;

	/**
	 * 运营商ID
	 */
	private Long merId;
	/**
	 * 分佣规则名称
	 */
	private String name;
	/**
	 * 分佣逻辑(0-根据购买者的会员类型设置的比例给其他关联人分佣; 1-根据分佣人各自的会员类型取各自的来自买家返利佣金的比例（悠哉2.0逻辑）)
	 */
	private Integer rewardLogic;
	/**
	 * 分佣层级
	 */
	private Integer rewardLevel;
	/**
	 * 从总佣金扣除的佣金比例
	 */
	private Double rewardSubRatio;
	/**
	 * 奖励顺序（0.买家、上级、上上级、代理、上级代理、合伙人、上N级，1.买家、上级、代理、合伙人、上上级、上级代理、上N级）
	 */
	private Integer rewardSort;
	/**
	 * 分佣是否可以溢出总佣金，0否，1是
	 */
	private Integer rewardOverflow;
	/**
	 * 杀熟规则
	 */
	private Long nuserRuleGroupId;
	/**
	 * 会员类型组
	 */
	private Long userTypeGroupId;
	/**
	 * 阶梯模式（0.按照单件商品佣金取阶梯，1.按照总佣金取阶梯）
	 */
	private Integer ladderModel;
	/**
	 * 不同会员分佣明细
	 */
	private String rewardDetail;

	/**
	 * 是否默认（0-否；1-是)
	 */
	private Integer isDefault;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getMerId() {
		return merId;
	}

	public void setMerId(Long merId) {
		this.merId = merId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getRewardLevel() {
		return rewardLevel;
	}

	public void setRewardLevel(Integer rewardLevel) {
		this.rewardLevel = rewardLevel;
	}

	public Double getRewardSubRatio() {
		return rewardSubRatio;
	}

	public void setRewardSubRatio(Double rewardSubRatio) {
		this.rewardSubRatio = rewardSubRatio;
	}

	public Integer getRewardSort() {
		return rewardSort;
	}

	public void setRewardSort(Integer rewardSort) {
		this.rewardSort = rewardSort;
	}

	public Integer getRewardOverflow() {
		return rewardOverflow;
	}

	public void setRewardOverflow(Integer rewardOverflow) {
		this.rewardOverflow = rewardOverflow;
	}

	public Long getNuserRuleGroupId() {
		return nuserRuleGroupId;
	}

	public void setNuserRuleGroupId(Long nuserRuleGroupId) {
		this.nuserRuleGroupId = nuserRuleGroupId;
	}

	public Long getUserTypeGroupId() {
		return userTypeGroupId;
	}

	public void setUserTypeGroupId(Long userTypeGroupId) {
		this.userTypeGroupId = userTypeGroupId;
	}

	public Integer getLadderModel() {
		return ladderModel;
	}

	public void setLadderModel(Integer ladderModel) {
		this.ladderModel = ladderModel;
	}

	public String getRewardDetail() {
		return rewardDetail;
	}

	public void setRewardDetail(String rewardDetail) {
		this.rewardDetail = rewardDetail;
	}

	public Integer getRewardLogic() {
		return rewardLogic;
	}

	public void setRewardLogic(Integer rewardLogic) {
		this.rewardLogic = rewardLogic;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}
}
